package com.cwd.arm.common.enums;

/**
 * Created by yan on 21-11-11.
 */
public enum ErrorEnum {

    SUCCESS(200,"成功"),
    AUTH_ERROR(403, "无权访问"),
    ERROR(500, "失败"),
    VAILD_ERROR(501, "教研失败"),
    IMPORT_ERROR(600, "导入失败");


    Integer code; // 状态编号
    String name; //状态名称

    ErrorEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
